<?php use_helper('I18N') ?>
<style type="text/css">
body {
    background: url("/images/body_bg_main.jpg") repeat-x scroll left top #FFFFFF;
}
</style>

<script type="text/javascript">
$(function() {
    $("#dgAnnouncement").dialog("destroy");
    $("#dgAnnouncement").dialog({
        autoOpen : false,
        modal : true,
        resizable : false,
        closeOnEscape: false,
        hide: 'clip',
        show: 'slide',
        width: 650,
        open: function(event, ui) {
            /*$(".ui-dialog-titlebar-close").hide();*/
        },
        close: function() {

        }
    });
   /*$('#dgAnnouncement').dialog('open');*/
    // CYCLE HEADER
    $('#Cycle').after('<ul id="CycNav">').cycle({

        fx:     'fade',
        speed:  '400',
        timeout: '5000',
        pager:  '#CycNav',
        pause:   1,
        autoplay: true,
        pauseOnPagerHover: false,
        startingSlide: 0, // zero-based

    pagerAnchorBuilder: function(id, slide) {

            var s=$(slide);

            var imgsource=s.find('img.CycIMG').attr('src');

            // Split off the filename with no extension (period + 3 letter extension)

            var new_src = imgsource.substring(0,imgsource.length-4);

            // Add the "-t"

            //new_src += "-t";

            // Add the period and the 3 letter extension back on

            new_src += imgsource.substring(imgsource.length-4,imgsource.length);

            // Set this as the source for our image

            return '<li><a href="#"><img src="' + new_src + '" width="45" height="45" /></a></li>';	// Control thumnail size

    }
    });
});
</script>

<!--- this is banner--->
<div class="bannerWrappMain">
	<div class="pics" id="Cycle">
		<!-- BEGIN SLIDE 1 -->
		<!--<div>
			<img src="/images/banner/banner_05.jpg" class="CycIMG"/>
		</div>-->
        <!-- END SLIDE 1 -->

		<!-- BEGIN SLIDE 1 -->
		<!--<div>
			<img src="/images/banner/banner_04.jpg" class="CycIMG"/>
		</div>-->
        <!-- END SLIDE 1 -->

		<!-- BEGIN SLIDE 1 -->
		<!--<div>
			<img src="/images/banner/banner_06.jpg" class="CycIMG"/>
		</div>-->
        <!-- END SLIDE 1 -->
		<!-- BEGIN SLIDE 1 -->
		<div>
			<img src="/images/banner/banner_01_main.jpg" class="CycIMG"/>
		</div><!-- END SLIDE 1 -->

		<!-- BEGIN SLIDE 2 -->
		<div>
			<img title="" alt="" src="/images/banner/banner_02_main.jpg" class="CycIMG"/>
		</div><!-- END SLIDE 2 -->

		<!-- BEGIN SLIDE 3 -->
		<div>
			<img title="" alt="" src="/images/banner/banner_03_main.jpg" class="CycIMG"/>
		</div><!-- END SLIDE 3 -->

	</div>
</div>
<div class="clear"></div>
<!--- banner end --->

<!---this is content--->
<div class="maincontentWrapp">
	<!---aside--->
    <div class="aside">
		<!--this is accor-->
		<div id="accor">
			<ul id="menu">
				<li>
				<a href="#"><img src="/images/accor_01.jpg" /></a>
					<ul>
						<li>
						<div class="dailyWrap">
                        <iframe src="http://www.hotforex.com/feedLive.php" frameborder="0" name="livePrices" id="livePrices" style="width: 270px; height: 210px; margin: 0px; padding: 0px; background:#fcfcfc;" scrolling="no"></iframe>
						</div>
						</li>
					</ul>
				</li>
				<!--<li>
				<a href="#"><img src="/images/accor_02.jpg" /></a>
					<ul>
						<li>
						<center style="background:#ffffff;">
						<div id="insertChartsWidget"></div>
						<script language="javascript" type="text/javascript">
							var etoroWidth = "280"; // Table width
							var etoroHeight = "200"; // Table height
                            var etoroScrolling = "no"; // Scrolling (yes/no)
                            var etoroURL = "http://www.etoro.com"; // Tracking URL
                            var etoroCurency1 = "2";    // 1 - USD, 2 - EUR, 3- GBP, 4 - JPY, 5 - AUS, 6 - CHF, 7 - CAD
                            var etoroCurency2 = "1";    // Available pairs: 2:1, 3:1, 1:4, 3,1: 1:6, 1:7, 2:3, 2:6, 2:4
						</script>

						<script type="text/javascript" src="http://widgets.etoro.com/charts/ChartsJS.aspx?v=3"></script>
						</center>
						<div class="clear"></div>
						</li>
					</ul>
				</li>-->
			</ul>
		</div>
		<div class="clear"></div>
		<!--accor is end here-->
        <!--- aside banner--->
		<div class="adBanner">
			<a href="/info/contact"><img src="/images/side_contact.jpg" /></a>
		</div>
		<div class="adBanner">
			<a href="http://www.chinatrust.com.ph/chinatrust/index.php" target="_blank"><img src="/images/creditcard.jpg" /></a>
			<br />
			<p style="text-align:center; font-weight:bold; font-size:16px;"> Visa Debit Card apply now </p>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
		<!--- aside banner end--->

		<!---Testimoniol--->
		<div class="testimoniolWrap">
			<h2>What They Say About Us...</h2>
			<div id="text-content" style="color:#444444; padding:10px 15px; text-indent:15px; background:url(images/close_mark.jpg) no-repeat 260px bottom;">
			</div>
		</div>
		<!---Testimoniol end--->
    </div>
    <!---aside end--->
	<!---welcome message--->
	<div class="firstCol">
		<div class="maindisplay">
			<img src="/images/icon_about.jpg" />
		</div>
		<h2>FXM2U</h2>
		<p>FXM2U, was engineered from the ground up in an effort to provide our clients with the best possible trading experience available focusing on four key elements that others in the industry have all but forgotten; true interbank pricing, lightning fast executions, financial privacy, and real hands on customer service. Sometimes in business being the underdog has it's advantages, we may not be the biggest out there but we are still large enough to be competitive, and at the same time we are small enough to be flexible.</p>
		<div class="clear"></div>
	</div>

	<div class="rightArea">
		<div class="mainCol02">
			<div class="maindisplay">
				<img src="/images/icon_account.jpg" />
			</div>
			<h2>Open an Account</h2>
			<p>Premier Interchange Gateway (FXM2U) will use the information gained from this application...
			<span class="more"><a href="http://app.fxm2ultd.com/member/register">Read more</a></span></p>
			<div class="clear"></div>
		</div>

		<div class="mainCol03">
			<div class="maindisplay">
				<img src="/images/icon_about_demo.jpg" />
			</div>
			<h2>Free Demo Account</h2>
			<p>In order to request a new demo account for our platform please follow the instructions...
			<span class="more"><a href="http://app.fxm2ultd.com/download/demo">Read more</a></span></p>
			<div class="clear"></div>
		</div>
		<div class="mainCol02">
			<div class="maindisplay">
				<img src="/images/icon_about_forex.jpg" />
			</div>
			<h2>What is Forex</h2>
			<p>Unlike other financial markets, the foreign exchange (Forex) market has no central location. There is no stock exchange and there are no set market hours.
			<span class="more"><a href="/info/learningCenter">Read more</a></span></p>
			<div class="clear"></div>
		</div>

		<div class="mainCol03">
			<div class="maindisplay">
				<img src="/images/icon_trade.jpg" />
			</div>
			<h2>Why Trade with FXM2U</h2>
			<p>At FXM2U, advanced trading tools and superior customer support are all part of our commitment to help you pursue your goals.
			<span class="more"><a href="/info/learningCenter">Read more</a></span></p>
			<div class="clear"></div>
		</div>

        <!--- footer banner --->
        <div class="asideBTMBanner">
            <img src="/images/side_btm_banner_02.jpg" />
        </div>
        <div class="asideBTMBanner">
            <img src="/images/side_btm_banner.jpg" />
        </div>
        <!--- footer banner end --->
        <div class="clear"></div>
	</div>
    <div class="clear"></div>
    <div class="logo_brand">
		<img src="/images/brand_logo.jpg" />
		<div class="clear"></div>
	</div>

    <?php include_component('component', 'bottommenu', array('param' => $sf_user->getAttribute(Globals::SESSION_DISTID, 0))) ?>
</div>
<div class="clear"></div>
<!--- content end--->

<div id="dgAnnouncement" title="<?php echo __('Announcement') ?>" style="display:none;">
    <p>
        <span class="ui-icon ui-icon-info" style="float:left; margin:0 7px 100px 0;"></span>
    </p>
    Dear Valued Trader,
    <br><br>Start from 1st Aug 2012 ONLY MEMBER are allowed to access into www.fxm2ultd.com due to webpage upgrading.
    MEMBER need to login their username n password in order to enter the website. Sorry for the inconvenience caused.
    <br><br>
    <b>From The Management</b>
    </p>
</div>